#!/usr/bin/bash

echo "请将格式化的存储设备挂载到 ~/tmpdir , lsblk查看设备并请输入设备名："
read p
sudo mount /dev/$p ~/tmpdir
sudo chown -R $(whoami):$(whoami) ~/tmpdir
echo "设备挂载完成"